10. Dummy Variables
SOLUTION:
2SOLUTION:
1SOLUTION:
5SOLUTION:
- There should always be as many dummy variables added to your X matrix as the number of levels of each categorical variable minus 1.
- The reason for dropping a dummy variable is to assure that all of our columns are linearly independent.
- The reason for dropping a dummy variable is to assure that the dot product of X'X is invertible.
- The reason for dropping a dummy variable is to assure that your X matrix is full rank.